<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      template="/templateLogin.xhtml">
     

        <ui:define name="body">
            <h:form id="loginForm" >
                <h:panelGrid style="border: 1">
                    <h:outputText value="#{bundle.NombreUsuario}"/>
                    <h:inputText id="username" value="#{loginController.selected.username}" />
                    <h:outputText value="#{bundle.PassUsuario}" />
                    <h:inputSecret id="password" value="#{loginController.selected.password}" />
                    <h:commandButton action="#{loginController.validateLogin}" value="#{myBundle.Login}">
                                <!--<p:ajax execute="@form" render="displayResponse" />-->
                    </h:commandButton>
                    <h:outputLabel id="displayResponse" value="#{loginController.message}" />
                </h:panelGrid>
            </h:form>
            
        </ui:define>
</ui:composition>



